package com.itany.corejava.day18;

import java.lang.reflect.Array;

//数组
public class TestClass4 {

    public static void main(String[] args) {


        Object arr= Array.newInstance(String.class,4);

        System.out.println("arr = " + arr);

        Array.set(arr,0,"abc");

        System.out.println(Array.get(arr,0));




    }
}
